package com.easylinkin.linkappapi.alarm.dto;

import java.util.ArrayList;
import java.util.List;
import lombok.Data;

/**
 * @Author: kan yuanfeng
 * @Date: 2022/9/23 10:07
 * @Description: ai事件
 */
@Data
public class AiRule {

  /**
   * 事件名称
   */
  private String name;

  /**
   * 事件数量
   */
  private int num;

  public static List<AiRule> getDefaultList(){
    List<AiRule> list = new ArrayList<>();
    AiRule aiRule1 = new AiRule();
    aiRule1.setName("未戴安全帽");
    list.add(aiRule1);
    AiRule aiRule2 = new AiRule();
    aiRule2.setName("未穿反光衣");
    list.add(aiRule2);
    AiRule aiRule3 = new AiRule();
    aiRule3.setName("明火预警");
    list.add(aiRule3);
    return list;
  }
}
